//
//  NSDate+Property.h
//  Project
//
//  Created by  CarlsonLee on 2018/12/8.
//  Copyright © 2018年 YANJING. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSDate (Property)

#pragma mark - 时间部分

@property (nonatomic, readonly) NSInteger gel_year; ///< Year component
@property (nonatomic, readonly) NSInteger gel_month; ///< Month component
@property (nonatomic, readonly) NSInteger gel_day; ///< Day component
@property (nonatomic, readonly) NSInteger gel_hour; ///< Hour component
@property (nonatomic, readonly) NSInteger gel_minute; ///< Minute component
@property (nonatomic, readonly) NSInteger gel_second; ///< Second component
@property (nonatomic, readonly) NSInteger gel_nanosecond; ///< Nanosecond component
@property (nonatomic, readonly) NSInteger gel_weekday; ///< Weekday component
@property (nonatomic, readonly) NSInteger gel_weekdayOrdinal; ///< WeekdayOrdinal component
@property (nonatomic, readonly) NSInteger gel_weekOfMonth; ///< WeekOfMonth component
@property (nonatomic, readonly) NSInteger gel_weekOfYear; ///< WeekOfYear component
@property (nonatomic, readonly) NSInteger gel_yearForWeekOfYear; ///< YearForWeekOfYear component
@property (nonatomic, readonly) NSInteger gel_quarter; ///< Quarter component
@property (nonatomic, readonly) BOOL gel_isLeapMonth; ///< 是否闰月
@property (nonatomic, readonly) BOOL gel_isLeapYear; ///< 是否闰年

@end
